Skip to content

Allow disabling step sourcemap with new sourcemap option in builders#1842

Merged
VaguelySerious merged 8 commits intomainfrom
peter/allow-disable-step-sourcemaps
May 4, 2026
Merged

Allow disabling step sourcemap with new sourcemap option in builders#1842
VaguelySerious merged 8 commits intomainfrom
peter/allow-disable-step-sourcemaps

Conversation

@VaguelySerious
Copy link
Copy Markdown
Member

No description provided.

Signed-off-by: Peter Wielander <mittgfu@gmail.com>
@vercel
Copy link
Copy Markdown
Contributor

vercel Bot commented Apr 23, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
example-nextjs-workflow-turbopack Ready Ready Preview, Comment May 4, 2026 10:50am
example-nextjs-workflow-webpack Ready Ready Preview, Comment May 4, 2026 10:50am
example-workflow Ready Ready Preview, Comment May 4, 2026 10:50am
workbench-astro-workflow Ready Ready Preview, Comment May 4, 2026 10:50am
workbench-express-workflow Ready Ready Preview, Comment May 4, 2026 10:50am
workbench-fastify-workflow Ready Ready Preview, Comment May 4, 2026 10:50am
workbench-hono-workflow Ready Ready Preview, Comment May 4, 2026 10:50am
workbench-nitro-workflow Ready Ready Preview, Comment May 4, 2026 10:50am
workbench-nuxt-workflow Ready Ready Preview, Comment May 4, 2026 10:50am
workbench-sveltekit-workflow Ready Ready Preview, Comment May 4, 2026 10:50am
workbench-tanstack-start-workflow Ready Ready Preview, Comment May 4, 2026 10:50am
workbench-vite-workflow Ready Ready Preview, Comment May 4, 2026 10:50am
workflow-docs Ready Ready Preview, Comment, Open in v0 May 4, 2026 10:50am
workflow-swc-playground Ready Ready Preview, Comment May 4, 2026 10:50am
workflow-tarballs Ready Ready Preview, Comment May 4, 2026 10:50am
workflow-web Ready Ready Preview, Comment May 4, 2026 10:50am

@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented Apr 23, 2026

🦋 Changeset detected

Latest commit: 7065f19

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 18 packages
Name Type
@workflow/builders Minor
@workflow/nitro Minor
@workflow/nest Minor
@workflow/next Minor
@workflow/sveltekit Minor
@workflow/astro Minor
@workflow/cli Patch
@workflow/rollup Patch
@workflow/vite Patch
@workflow/vitest Patch
tarballs Patch
@workflow/nuxt Patch
workflow Patch
@workflow/world-testing Patch
@workflow/ai Patch
@workflow/core Patch
@workflow/web-shared Patch
@workflow/web Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Apr 23, 2026

🧪 E2E Test Results

All tests passed

Summary

Passed Failed Skipped Total
✅ ▲ Vercel Production 859 0 219 1078
✅ 💻 Local Development 957 0 219 1176
✅ 📦 Local Production 957 0 219 1176
✅ 🐘 Local Postgres 957 0 219 1176
✅ 🪟 Windows 98 0 0 98
✅ 📋 Other 510 0 176 686
Total 4338 0 1052 5390

Details by Category

✅ ▲ Vercel Production
App Passed Failed Skipped
✅ astro 72 0 26
✅ example 72 0 26
✅ express 72 0 26
✅ fastify 72 0 26
✅ hono 72 0 26
✅ nextjs-turbopack 96 0 2
✅ nextjs-webpack 96 0 2
✅ nitro 72 0 26
✅ nuxt 72 0 26
✅ sveltekit 91 0 7
✅ vite 72 0 26
✅ 💻 Local Development
App Passed Failed Skipped
✅ astro-stable 73 0 25
✅ express-stable 73 0 25
✅ fastify-stable 73 0 25
✅ hono-stable 73 0 25
✅ nextjs-turbopack-canary 79 0 19
✅ nextjs-turbopack-stable 98 0 0
✅ nextjs-webpack-canary 79 0 19
✅ nextjs-webpack-stable 98 0 0
✅ nitro-stable 73 0 25
✅ nuxt-stable 73 0 25
✅ sveltekit-stable 92 0 6
✅ vite-stable 73 0 25
✅ 📦 Local Production
App Passed Failed Skipped
✅ astro-stable 73 0 25
✅ express-stable 73 0 25
✅ fastify-stable 73 0 25
✅ hono-stable 73 0 25
✅ nextjs-turbopack-canary 79 0 19
✅ nextjs-turbopack-stable 98 0 0
✅ nextjs-webpack-canary 79 0 19
✅ nextjs-webpack-stable 98 0 0
✅ nitro-stable 73 0 25
✅ nuxt-stable 73 0 25
✅ sveltekit-stable 92 0 6
✅ vite-stable 73 0 25
✅ 🐘 Local Postgres
App Passed Failed Skipped
✅ astro-stable 73 0 25
✅ express-stable 73 0 25
✅ fastify-stable 73 0 25
✅ hono-stable 73 0 25
✅ nextjs-turbopack-canary 79 0 19
✅ nextjs-turbopack-stable 98 0 0
✅ nextjs-webpack-canary 79 0 19
✅ nextjs-webpack-stable 98 0 0
✅ nitro-stable 73 0 25
✅ nuxt-stable 73 0 25
✅ sveltekit-stable 92 0 6
✅ vite-stable 73 0 25
✅ 🪟 Windows
App Passed Failed Skipped
✅ nextjs-turbopack 98 0 0
✅ 📋 Other
App Passed Failed Skipped
✅ e2e-local-dev-nest-stable 73 0 25
✅ e2e-local-dev-tanstack-start-stable 73 0 25
✅ e2e-local-postgres-nest-stable 73 0 25
✅ e2e-local-postgres-tanstack-start-stable 73 0 25
✅ e2e-local-prod-nest-stable 73 0 25
✅ e2e-local-prod-tanstack-start-stable 73 0 25
✅ e2e-vercel-prod-tanstack-start 72 0 26

📋 View full workflow run

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Apr 23, 2026

📊 Benchmark Results

📈 Comparing against baseline from main branch. Green 🟢 = faster, Red 🔺 = slower.

workflow with no steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
💻 Local 🥇 Express 0.031s (-29.8% 🟢) 1.005s (~) 0.974s 10 1.00x
💻 Local Nitro 0.031s (-27.8% 🟢) 1.005s (~) 0.974s 10 1.00x
🐘 Postgres Express 0.047s (-18.8% 🟢) 1.011s (~) 0.964s 10 1.51x
🐘 Postgres Nitro 0.049s (-48.9% 🟢) 1.012s (-3.0%) 0.963s 10 1.56x
💻 Local Next.js (Turbopack) 0.053s 1.006s 0.953s 10 1.72x
🌐 Redis Next.js (Turbopack) 0.054s 1.005s 0.951s 10 1.75x
🐘 Postgres Next.js (Turbopack) 0.056s 1.012s 0.956s 10 1.80x

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Express 0.203s (-13.7% 🟢) 2.139s (~) 1.935s 10 1.00x
▲ Vercel Nitro 0.234s (-42.8% 🟢) 2.098s (-16.4% 🟢) 1.864s 10 1.15x
▲ Vercel Next.js (Turbopack) 0.715s (+184.3% 🔺) 2.453s (+5.1% 🔺) 1.738s 10 3.52x

🔍 Observability: Express | Nitro | Next.js (Turbopack)

workflow with 1 step

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
💻 Local 🥇 Nitro 1.071s (-5.3% 🟢) 2.006s (~) 0.934s 10 1.00x
💻 Local Express 1.074s (-4.6%) 2.006s (~) 0.932s 10 1.00x
🐘 Postgres Express 1.082s (-5.6% 🟢) 2.009s (~) 0.927s 10 1.01x
🐘 Postgres Nitro 1.084s (-4.9%) 2.010s (~) 0.926s 10 1.01x
🐘 Postgres Next.js (Turbopack) 1.117s 2.010s 0.893s 10 1.04x
🌐 Redis Next.js (Turbopack) 1.117s 2.007s 0.890s 10 1.04x
💻 Local Next.js (Turbopack) 1.118s 2.006s 0.888s 10 1.04x

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Nitro 1.601s (-58.9% 🟢) 3.761s (-36.3% 🟢) 2.160s 10 1.00x
▲ Vercel Express 1.676s (-10.6% 🟢) 3.875s (+1.8%) 2.199s 10 1.05x
▲ Vercel Next.js (Turbopack) 3.327s (+63.5% 🔺) 4.661s (+21.7% 🔺) 1.334s 10 2.08x

🔍 Observability: Nitro | Express | Next.js (Turbopack)

workflow with 10 sequential steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
💻 Local 🥇 Nitro 10.410s (-4.9%) 11.022s (~) 0.611s 3 1.00x
💻 Local Express 10.413s (-4.7%) 11.021s (~) 0.608s 3 1.00x
🐘 Postgres Express 10.419s (-5.0%) 11.011s (~) 0.592s 3 1.00x
🐘 Postgres Nitro 10.458s (-3.8%) 11.019s (~) 0.561s 3 1.00x
🌐 Redis Next.js (Turbopack) 10.660s 11.023s 0.364s 3 1.02x
💻 Local Next.js (Turbopack) 10.729s 11.024s 0.294s 3 1.03x
🐘 Postgres Next.js (Turbopack) 10.759s 11.013s 0.254s 3 1.03x

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Nitro 13.083s (-44.9% 🟢) 15.141s (-39.7% 🟢) 2.058s 2 1.00x
▲ Vercel Express 13.281s (-21.8% 🟢) 15.171s (-24.2% 🟢) 1.890s 2 1.02x
▲ Vercel Next.js (Turbopack) 14.431s (-16.7% 🟢) 16.247s (-16.2% 🟢) 1.816s 2 1.10x

🔍 Observability: Nitro | Express | Next.js (Turbopack)

workflow with 25 sequential steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
💻 Local 🥇 Nitro 13.457s (-10.7% 🟢) 14.026s (-12.5% 🟢) 0.569s 5 1.00x
💻 Local Express 13.480s (-10.0% 🟢) 14.026s (-6.7% 🟢) 0.546s 5 1.00x
🐘 Postgres Express 13.480s (-7.6% 🟢) 14.015s (-6.7% 🟢) 0.535s 5 1.00x
🐘 Postgres Nitro 13.486s (-7.6% 🟢) 14.018s (-6.7% 🟢) 0.532s 5 1.00x
🌐 Redis Next.js (Turbopack) 14.084s 15.031s 0.947s 4 1.05x
🐘 Postgres Next.js (Turbopack) 14.112s 15.019s 0.908s 4 1.05x
💻 Local Next.js (Turbopack) 14.224s 15.031s 0.806s 4 1.06x

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Nitro 20.805s (-67.7% 🟢) 22.893s (-65.6% 🟢) 2.087s 3 1.00x
▲ Vercel Express 21.521s (-57.2% 🟢) 23.491s (-55.3% 🟢) 1.970s 3 1.03x
▲ Vercel Next.js (Turbopack) 23.593s (-55.1% 🟢) 25.188s (-53.9% 🟢) 1.595s 3 1.13x

🔍 Observability: Nitro | Express | Next.js (Turbopack)

workflow with 50 sequential steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
💻 Local 🥇 Nitro 11.892s (-29.1% 🟢) 12.020s (-29.4% 🟢) 0.128s 8 1.00x
💻 Local Express 11.923s (-28.2% 🟢) 12.146s (-28.7% 🟢) 0.223s 8 1.00x
🐘 Postgres Express 11.964s (-14.6% 🟢) 12.143s (-16.8% 🟢) 0.179s 8 1.01x
🐘 Postgres Nitro 12.340s (-11.6% 🟢) 13.016s (-9.0% 🟢) 0.676s 7 1.04x
🌐 Redis Next.js (Turbopack) 13.169s 14.027s 0.858s 7 1.11x
🐘 Postgres Next.js (Turbopack) 13.174s 14.017s 0.843s 7 1.11x
💻 Local Next.js (Turbopack) 13.424s 14.028s 0.604s 7 1.13x

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Express 30.908s (-74.5% 🟢) 33.148s (-73.2% 🟢) 2.239s 3 1.00x
▲ Vercel Next.js (Turbopack) 31.616s (-92.0% 🟢) 32.818s (-91.7% 🟢) 1.202s 3 1.02x
▲ Vercel Nitro 34.561s (-91.8% 🟢) 36.821s (-91.3% 🟢) 2.260s 3 1.12x

🔍 Observability: Express | Next.js (Turbopack) | Nitro

Promise.all with 10 concurrent steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🐘 Postgres 🥇 Express 1.154s (-8.4% 🟢) 2.007s (~) 0.853s 15 1.00x
🐘 Postgres Nitro 1.156s (-9.3% 🟢) 2.009s (~) 0.853s 15 1.00x
💻 Local Express 1.181s (-20.6% 🟢) 2.006s (~) 0.825s 15 1.02x
💻 Local Nitro 1.183s (-27.5% 🟢) 2.006s (-3.3%) 0.823s 15 1.03x
🐘 Postgres Next.js (Turbopack) 1.205s 2.006s 0.801s 15 1.04x
🌐 Redis Next.js (Turbopack) 1.261s 2.006s 0.746s 15 1.09x
💻 Local Next.js (Turbopack) 1.330s 2.006s 0.676s 15 1.15x

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Nitro 3.663s (+30.0% 🔺) 6.079s (+40.6% 🔺) 2.416s 5 1.00x
▲ Vercel Next.js (Turbopack) 3.998s (+17.7% 🔺) 5.726s (+16.1% 🔺) 1.727s 6 1.09x
▲ Vercel Express 79.773s (+2689.4% 🔺) 82.743s (+1689.8% 🔺) 2.970s 4 21.78x

🔍 Observability: Nitro | Next.js (Turbopack) | Express

Promise.all with 25 concurrent steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🐘 Postgres 🥇 Nitro 1.227s (-47.8% 🟢) 2.006s (-33.3% 🟢) 0.779s 15 1.00x
🐘 Postgres Express 1.240s (-47.5% 🟢) 2.007s (-33.3% 🟢) 0.767s 15 1.01x
🐘 Postgres Next.js (Turbopack) 1.407s 2.007s 0.600s 15 1.15x
💻 Local Nitro 1.732s (-44.9% 🟢) 2.005s (-48.4% 🟢) 0.273s 15 1.41x
💻 Local Express 1.746s (-40.9% 🟢) 2.005s (-41.9% 🟢) 0.260s 15 1.42x
💻 Local Next.js (Turbopack) 1.831s 2.150s 0.319s 14 1.49x
🌐 Redis Next.js (Turbopack) 2.498s 3.009s 0.510s 10 2.04x

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Nitro 3.602s (-11.1% 🟢) 5.496s (-7.2% 🟢) 1.894s 6 1.00x
▲ Vercel Express 3.655s (+1.0%) 5.724s (+12.0% 🔺) 2.069s 6 1.01x
▲ Vercel Next.js (Turbopack) 4.493s (-36.7% 🟢) 6.576s (-26.2% 🟢) 2.083s 5 1.25x

🔍 Observability: Nitro | Express | Next.js (Turbopack)

Promise.all with 50 concurrent steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🐘 Postgres 🥇 Nitro 1.359s (-60.9% 🟢) 2.007s (-49.9% 🟢) 0.647s 15 1.00x
🐘 Postgres Express 1.368s (-60.8% 🟢) 2.007s (-49.9% 🟢) 0.640s 15 1.01x
🐘 Postgres Next.js (Turbopack) 1.669s 2.010s 0.341s 15 1.23x
🌐 Redis Next.js (Turbopack) 3.663s 4.010s 0.348s 8 2.69x
💻 Local Express 4.574s (-45.1% 🟢) 5.179s (-42.6% 🟢) 0.605s 6 3.36x
💻 Local Nitro 4.730s (-43.3% 🟢) 5.346s (-40.7% 🟢) 0.616s 6 3.48x
💻 Local Next.js (Turbopack) 5.440s 5.847s 0.407s 6 4.00x

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Nitro 4.740s (+34.4% 🔺) 6.616s (+19.6% 🔺) 1.876s 5 1.00x
▲ Vercel Express 5.856s (+38.1% 🔺) 7.810s (+27.5% 🔺) 1.954s 4 1.24x
▲ Vercel Next.js (Turbopack) 6.824s (-23.5% 🟢) 8.467s (-22.7% 🟢) 1.644s 4 1.44x

🔍 Observability: Nitro | Express | Next.js (Turbopack)

Promise.race with 10 concurrent steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🐘 Postgres 🥇 Nitro 1.155s (-8.1% 🟢) 2.007s (~) 0.852s 15 1.00x
🐘 Postgres Express 1.159s (-7.8% 🟢) 2.007s (~) 0.849s 15 1.00x
🐘 Postgres Next.js (Turbopack) 1.218s 2.007s 0.789s 15 1.05x
🌐 Redis Next.js (Turbopack) 1.237s 2.007s 0.769s 15 1.07x
💻 Local Next.js (Turbopack) 1.344s 2.006s 0.662s 15 1.16x
💻 Local Nitro 1.383s (-25.9% 🟢) 2.006s (-14.3% 🟢) 0.623s 15 1.20x
💻 Local Express 1.419s (-25.1% 🟢) 2.006s (-15.1% 🟢) 0.588s 15 1.23x

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Nitro 2.562s (+4.2%) 4.318s (+3.6%) 1.756s 8 1.00x
▲ Vercel Express 2.806s (+8.7% 🔺) 4.681s (+7.6% 🔺) 1.875s 7 1.10x
▲ Vercel Next.js (Turbopack) 4.436s (+51.3% 🔺) 6.289s (+35.5% 🔺) 1.853s 5 1.73x

🔍 Observability: Nitro | Express | Next.js (Turbopack)

Promise.race with 25 concurrent steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🐘 Postgres 🥇 Express 1.230s (-47.5% 🟢) 2.008s (-33.3% 🟢) 0.779s 15 1.00x
🐘 Postgres Nitro 1.234s (-47.2% 🟢) 2.009s (-33.3% 🟢) 0.775s 15 1.00x
🐘 Postgres Next.js (Turbopack) 1.363s 2.008s 0.645s 15 1.11x
💻 Local Express 1.939s (-38.1% 🟢) 2.393s (-36.4% 🟢) 0.454s 13 1.58x
💻 Local Nitro 1.968s (-35.8% 🟢) 2.314s (-40.5% 🟢) 0.346s 13 1.60x
💻 Local Next.js (Turbopack) 2.026s 2.735s 0.709s 11 1.65x
🌐 Redis Next.js (Turbopack) 2.380s 3.009s 0.629s 10 1.93x

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Express 3.679s (+15.2% 🔺) 5.604s (+16.9% 🔺) 1.925s 6 1.00x
▲ Vercel Nitro 4.085s (+26.4% 🔺) 6.099s (+20.1% 🔺) 2.013s 5 1.11x
▲ Vercel Next.js (Turbopack) 4.766s (+51.7% 🔺) 6.525s (+44.3% 🔺) 1.759s 5 1.30x

🔍 Observability: Express | Nitro | Next.js (Turbopack)

Promise.race with 50 concurrent steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🐘 Postgres 🥇 Nitro 1.362s (-60.9% 🟢) 2.007s (-49.9% 🟢) 0.645s 15 1.00x
🐘 Postgres Express 1.377s (-60.6% 🟢) 2.007s (-50.0% 🟢) 0.630s 15 1.01x
🐘 Postgres Next.js (Turbopack) 1.651s 2.008s 0.357s 15 1.21x
🌐 Redis Next.js (Turbopack) 3.607s 4.010s 0.404s 8 2.65x
💻 Local Nitro 5.224s (-42.9% 🟢) 5.846s (-41.7% 🟢) 0.622s 6 3.84x
💻 Local Next.js (Turbopack) 5.534s 6.217s 0.682s 5 4.06x
💻 Local Express 5.542s (-37.0% 🟢) 6.012s (-35.2% 🟢) 0.470s 5 4.07x

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Express 4.927s (-23.2% 🟢) 7.123s (-12.9% 🟢) 2.196s 5 1.00x
▲ Vercel Next.js (Turbopack) 5.851s (-13.4% 🟢) 7.912s (-7.4% 🟢) 2.061s 4 1.19x
▲ Vercel Nitro 5.997s (+17.7% 🔺) 8.152s (+19.6% 🔺) 2.155s 4 1.22x

🔍 Observability: Express | Next.js (Turbopack) | Nitro

workflow with 10 sequential data payload steps (10KB)

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🐘 Postgres 🥇 Nitro 0.461s (-43.9% 🟢) 1.007s (~) 0.546s 60 1.00x
🐘 Postgres Express 0.471s (-43.9% 🟢) 1.007s (-1.6%) 0.536s 60 1.02x
💻 Local Express 0.472s (-52.1% 🟢) 1.004s (-6.7% 🟢) 0.532s 60 1.02x
💻 Local Nitro 0.474s (-51.7% 🟢) 1.004s (-8.2% 🟢) 0.530s 60 1.03x
🌐 Redis Next.js (Turbopack) 0.643s 1.005s 0.361s 60 1.40x
🐘 Postgres Next.js (Turbopack) 0.682s 1.006s 0.324s 60 1.48x
💻 Local Next.js (Turbopack) 0.791s 1.005s 0.214s 60 1.72x

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Express 5.268s (-72.3% 🟢) 7.508s (-64.8% 🟢) 2.240s 8 1.00x
▲ Vercel Nitro 5.410s (-75.5% 🟢) 7.821s (-67.4% 🟢) 2.411s 8 1.03x
▲ Vercel Next.js (Turbopack) 7.447s (-48.7% 🟢) 9.011s (-44.0% 🟢) 1.564s 7 1.41x

🔍 Observability: Express | Nitro | Next.js (Turbopack)

workflow with 25 sequential data payload steps (10KB)

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🐘 Postgres 🥇 Nitro 1.020s (-47.1% 🟢) 1.549s (-26.3% 🟢) 0.529s 59 1.00x
🐘 Postgres Express 1.110s (-43.9% 🟢) 1.944s (-13.9% 🟢) 0.834s 47 1.09x
💻 Local Nitro 1.169s (-61.5% 🟢) 2.005s (-46.6% 🟢) 0.836s 45 1.15x
💻 Local Express 1.171s (-61.2% 🟢) 2.005s (-44.1% 🟢) 0.834s 45 1.15x
🌐 Redis Next.js (Turbopack) 1.553s 2.028s 0.475s 45 1.52x
🐘 Postgres Next.js (Turbopack) 1.648s 2.008s 0.360s 45 1.62x
💻 Local Next.js (Turbopack) 2.009s 2.366s 0.357s 39 1.97x

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Nitro 15.257s (-61.4% 🟢) 17.583s (-57.4% 🟢) 2.326s 6 1.00x
▲ Vercel Express 16.414s (-52.5% 🟢) 18.556s (-49.6% 🟢) 2.142s 5 1.08x
▲ Vercel Next.js (Turbopack) 17.556s (-64.7% 🟢) 19.284s (-62.7% 🟢) 1.727s 5 1.15x

🔍 Observability: Nitro | Express | Next.js (Turbopack)

workflow with 50 sequential data payload steps (10KB)

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🐘 Postgres 🥇 Express 2.085s (-47.7% 🟢) 2.638s (-39.6% 🟢) 0.553s 46 1.00x
🐘 Postgres Nitro 2.190s (-46.6% 🟢) 2.735s (-40.6% 🟢) 0.544s 44 1.05x
💻 Local Nitro 2.648s (-71.5% 🟢) 3.007s (-70.0% 🟢) 0.359s 40 1.27x
💻 Local Express 2.792s (-69.7% 🟢) 3.136s (-68.7% 🟢) 0.343s 39 1.34x
🌐 Redis Next.js (Turbopack) 3.075s 4.009s 0.934s 30 1.47x
🐘 Postgres Next.js (Turbopack) 3.188s 4.010s 0.822s 30 1.53x
💻 Local Next.js (Turbopack) 4.213s 4.971s 0.758s 25 2.02x

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Express 40.699s (-68.7% 🟢) 42.840s (-67.6% 🟢) 2.142s 3 1.00x
▲ Vercel Nitro 42.099s (-56.6% 🟢) 44.225s (-55.1% 🟢) 2.126s 3 1.03x
▲ Vercel Next.js (Turbopack) 58.325s (-45.6% 🟢) 60.800s (-44.2% 🟢) 2.475s 2 1.43x

🔍 Observability: Express | Nitro | Next.js (Turbopack)

workflow with 10 concurrent data payload steps (10KB)

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🐘 Postgres 🥇 Express 0.207s (-26.8% 🟢) 1.007s (~) 0.800s 60 1.00x
🐘 Postgres Nitro 0.210s (-26.0% 🟢) 1.006s (~) 0.796s 60 1.01x
🐘 Postgres Next.js (Turbopack) 0.247s 1.006s 0.759s 60 1.19x
🌐 Redis Next.js (Turbopack) 0.251s 1.004s 0.753s 60 1.22x
💻 Local Nitro 0.444s (-26.6% 🟢) 1.004s (-1.7%) 0.560s 60 2.15x
💻 Local Express 0.444s (-20.7% 🟢) 1.004s (~) 0.560s 60 2.15x
💻 Local Next.js (Turbopack) 0.638s 1.005s 0.367s 60 3.08x

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Express 2.127s (+8.8% 🔺) 4.449s (+22.3% 🔺) 2.322s 14 1.00x
▲ Vercel Nitro 2.809s (+69.1% 🔺) 4.874s (+45.5% 🔺) 2.065s 13 1.32x
▲ Vercel Next.js (Turbopack) 4.181s (+106.7% 🔺) 6.053s (+59.6% 🔺) 1.873s 10 1.97x

🔍 Observability: Express | Nitro | Next.js (Turbopack)

workflow with 25 concurrent data payload steps (10KB)

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🐘 Postgres 🥇 Nitro 0.319s (-35.8% 🟢) 1.006s (~) 0.687s 90 1.00x
🐘 Postgres Express 0.319s (-37.3% 🟢) 1.007s (~) 0.687s 90 1.00x
🌐 Redis Next.js (Turbopack) 0.427s 1.004s 0.577s 90 1.34x
🐘 Postgres Next.js (Turbopack) 0.458s 1.006s 0.548s 90 1.44x
💻 Local Express 2.108s (-16.1% 🟢) 2.796s (-7.1% 🟢) 0.688s 33 6.61x
💻 Local Nitro 2.211s (-12.9% 🟢) 2.913s (-3.2%) 0.701s 31 6.94x
💻 Local Next.js (Turbopack) 2.705s 3.381s 0.676s 27 8.49x

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Express 7.019s (+130.4% 🔺) 9.023s (+87.7% 🔺) 2.004s 10 1.00x
▲ Vercel Next.js (Turbopack) 8.144s (+130.4% 🔺) 9.844s (+89.6% 🔺) 1.700s 10 1.16x
▲ Vercel Nitro 10.778s (+234.1% 🔺) 12.927s (+168.1% 🔺) 2.149s 7 1.54x

🔍 Observability: Express | Next.js (Turbopack) | Nitro

workflow with 50 concurrent data payload steps (10KB)

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🐘 Postgres 🥇 Nitro 0.639s (-19.2% 🟢) 1.006s (~) 0.367s 120 1.00x
🐘 Postgres Express 0.678s (-17.2% 🟢) 1.006s (-1.1%) 0.328s 120 1.06x
🌐 Redis Next.js (Turbopack) 0.776s 1.004s 0.228s 120 1.22x
🐘 Postgres Next.js (Turbopack) 0.959s 1.255s 0.296s 97 1.50x
💻 Local Nitro 9.903s (-11.5% 🟢) 10.527s (-9.7% 🟢) 0.624s 12 15.50x
💻 Local Express 10.069s (-10.0% 🟢) 10.445s (-12.5% 🟢) 0.376s 12 15.76x
💻 Local Next.js (Turbopack) 11.959s 12.733s 0.774s 10 18.72x

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Nitro 23.913s (+209.6% 🔺) 25.850s (+175.0% 🔺) 1.937s 5 1.00x
▲ Vercel Express 25.476s (+243.3% 🔺) 27.628s (+198.9% 🔺) 2.153s 5 1.07x
▲ Vercel Next.js (Turbopack) 29.443s (+185.1% 🔺) 31.747s (+158.4% 🔺) 2.304s 4 1.23x

🔍 Observability: Nitro | Express | Next.js (Turbopack)

Stream Benchmarks (includes TTFB metrics)
workflow with stream

💻 Local Development

World Framework Workflow Time TTFB Slurp Wall Time Overhead Samples vs Fastest
💻 Local 🥇 Nitro 1.129s (+428.4% 🔺) 2.005s (+99.6% 🔺) 0.011s (-8.0% 🟢) 2.019s (+98.1% 🔺) 0.889s 10 1.00x
💻 Local Express 1.131s (+467.9% 🔺) 2.005s (+99.6% 🔺) 0.011s (-5.0%) 2.019s (+98.3% 🔺) 0.888s 10 1.00x
🐘 Postgres Express 1.136s (+454.0% 🔺) 2.000s (+100.2% 🔺) 0.001s (-18.8% 🟢) 2.012s (+99.0% 🔺) 0.876s 10 1.01x
🐘 Postgres Nitro 1.154s (+463.0% 🔺) 2.001s (+100.2% 🔺) 0.001s (-33.3% 🟢) 2.009s (+98.7% 🔺) 0.855s 10 1.02x
🐘 Postgres Next.js (Turbopack) 1.184s 2.002s 0.002s 2.012s 0.827s 10 1.05x
💻 Local Next.js (Turbopack) 1.202s 2.004s 0.012s 2.020s 0.818s 10 1.06x
🌐 Redis Next.js (Turbopack) ⚠️ missing - - - - -

▲ Production (Vercel)

World Framework Workflow Time TTFB Slurp Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Express 2.066s (-17.5% 🟢) 3.508s (-14.2% 🟢) 1.451s (+51.0% 🔺) 5.496s (-1.7%) 3.430s 10 1.00x
▲ Vercel Nitro 2.218s (-42.1% 🟢) 3.699s (-29.9% 🟢) 1.325s (+78.5% 🔺) 5.486s (-15.4% 🟢) 3.268s 10 1.07x
▲ Vercel Next.js (Turbopack) 4.595s (-33.0% 🟢) 5.128s (-40.7% 🟢) 0.471s (-25.5% 🟢) 6.955s (-29.0% 🟢) 2.360s 10 2.22x

🔍 Observability: Express | Nitro | Next.js (Turbopack)

stream pipeline with 5 transform steps (1MB)

💻 Local Development

World Framework Workflow Time TTFB Slurp Wall Time Overhead Samples vs Fastest
🐘 Postgres 🥇 Nitro 1.531s (+145.4% 🔺) 2.005s (+99.1% 🔺) 0.004s (-11.3% 🟢) 2.025s (+98.1% 🔺) 0.494s 30 1.00x
🐘 Postgres Express 1.541s (+144.6% 🔺) 2.001s (+98.8% 🔺) 0.004s (+1.8%) 2.025s (+97.9% 🔺) 0.484s 30 1.01x
🐘 Postgres Next.js (Turbopack) 1.674s 2.009s 0.004s 2.024s 0.350s 30 1.09x
💻 Local Next.js (Turbopack) 1.774s 2.011s 0.011s 2.027s 0.253s 30 1.16x
💻 Local Express 1.926s (+154.4% 🔺) 2.011s (+95.4% 🔺) 0.009s (-3.5%) 2.423s (+133.0% 🔺) 0.496s 25 1.26x
💻 Local Nitro 1.927s (+129.7% 🔺) 2.010s (+98.6% 🔺) 0.009s (-5.7% 🟢) 2.421s (+117.0% 🔺) 0.495s 25 1.26x
🌐 Redis Next.js (Turbopack) ⚠️ missing - - - - -

▲ Production (Vercel)

World Framework Workflow Time TTFB Slurp Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Express 5.736s (-11.8% 🟢) 7.281s (-9.1% 🟢) 0.262s (-36.0% 🟢) 8.151s (-7.7% 🟢) 2.415s 8 1.00x
▲ Vercel Nitro 5.945s (-79.8% 🟢) 7.655s (-75.2% 🟢) 0.243s (+116.8% 🔺) 8.576s (-73.0% 🟢) 2.631s 7 1.04x
▲ Vercel Next.js (Turbopack) 12.528s (-26.0% 🟢) 14.193s (-22.2% 🟢) 0.273s (+29.0% 🔺) 15.683s (-17.2% 🟢) 3.155s 4 2.18x

🔍 Observability: Express | Nitro | Next.js (Turbopack)

10 parallel streams (1MB each)

💻 Local Development

World Framework Workflow Time TTFB Slurp Wall Time Overhead Samples vs Fastest
🐘 Postgres 🥇 Nitro 0.682s (-29.6% 🟢) 1.068s (-14.4% 🟢) 0.000s (-57.1% 🟢) 1.080s (-14.1% 🟢) 0.398s 56 1.00x
🐘 Postgres Express 0.707s (-26.5% 🟢) 1.070s (-16.3% 🟢) 0.000s (-17.9% 🟢) 1.082s (-17.2% 🟢) 0.376s 56 1.04x
🐘 Postgres Next.js (Turbopack) 0.804s 1.052s 0.000s 1.060s 0.255s 57 1.18x
💻 Local Nitro 1.313s (+7.4% 🔺) 2.015s (~) 0.000s (+233.3% 🔺) 2.017s (~) 0.704s 30 1.92x
💻 Local Express 1.325s (+8.2% 🔺) 2.016s (~) 0.000s (-20.0% 🟢) 2.018s (~) 0.692s 30 1.94x
💻 Local Next.js (Turbopack) 1.585s 2.015s 0.000s 2.019s 0.434s 30 2.32x
🌐 Redis Next.js (Turbopack) ⚠️ missing - - - - -

▲ Production (Vercel)

World Framework Workflow Time TTFB Slurp Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Nitro 3.464s (+13.6% 🔺) 5.217s (+18.8% 🔺) 0.000s (+18.2% 🔺) 5.805s (+20.7% 🔺) 2.341s 11 1.00x
▲ Vercel Express 3.757s (~) 5.535s (+8.5% 🔺) 0.000s (-50.0% 🟢) 6.147s (+11.2% 🔺) 2.390s 11 1.08x
▲ Vercel Next.js (Turbopack) 6.110s (-40.0% 🟢) 6.527s (-43.3% 🟢) 0.001s (+Infinity% 🔺) 7.700s (-36.1% 🟢) 1.590s 8 1.76x

🔍 Observability: Nitro | Express | Next.js (Turbopack)

fan-out fan-in 10 streams (1MB each)

💻 Local Development

World Framework Workflow Time TTFB Slurp Wall Time Overhead Samples vs Fastest
🐘 Postgres 🥇 Express 1.404s (-20.8% 🟢) 2.067s (-5.1% 🟢) 0.000s (+Infinity% 🔺) 2.102s (-4.4%) 0.698s 29 1.00x
🐘 Postgres Nitro 1.462s (-18.4% 🟢) 2.175s (+1.6%) 0.000s (~) 2.195s (+0.9%) 0.733s 28 1.04x
🐘 Postgres Next.js (Turbopack) 1.615s 2.180s 0.000s 2.202s 0.587s 28 1.15x
💻 Local Express 3.073s (-11.4% 🟢) 3.731s (-7.5% 🟢) 0.000s (-48.5% 🟢) 3.735s (-7.5% 🟢) 0.662s 17 2.19x
💻 Local Nitro 3.078s (-9.1% 🟢) 3.733s (-7.4% 🟢) 0.001s (-0.7%) 3.738s (-7.4% 🟢) 0.660s 17 2.19x
💻 Local Next.js (Turbopack) 3.114s 3.551s 0.001s 3.566s 0.452s 17 2.22x
🌐 Redis Next.js (Turbopack) ⚠️ missing - - - - -

▲ Production (Vercel)

World Framework Workflow Time TTFB Slurp Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Nitro 5.283s (+29.1% 🔺) 6.997s (+30.2% 🔺) 0.000s (-54.2% 🟢) 7.548s (+30.3% 🔺) 2.264s 8 1.00x
▲ Vercel Express 5.306s (+15.7% 🔺) 7.079s (+17.5% 🔺) 0.000s (NaN%) 7.624s (+18.1% 🔺) 2.317s 8 1.00x
▲ Vercel Next.js (Turbopack) 8.018s (+42.8% 🔺) 8.579s (+22.9% 🔺) 0.000s (+14.3% 🔺) 9.452s (+25.4% 🔺) 1.434s 7 1.52x

🔍 Observability: Nitro | Express | Next.js (Turbopack)

Summary

Fastest Framework by World

Winner determined by most benchmark wins

World 🥇 Fastest Framework Wins
💻 Local Nitro 12/21
🐘 Postgres Express 11/21
▲ Vercel Nitro 11/21
Fastest World by Framework

Winner determined by most benchmark wins

Framework 🥇 Fastest World Wins
Express 🐘 Postgres 15/21
Next.js (Turbopack) 🐘 Postgres 12/21
Nitro 🐘 Postgres 15/21
Column Definitions
  • Workflow Time: Runtime reported by workflow (completedAt - createdAt) - primary metric
  • TTFB: Time to First Byte - time from workflow start until first stream byte received (stream benchmarks only)
  • Slurp: Time from first byte to complete stream consumption (stream benchmarks only)
  • Wall Time: Total testbench time (trigger workflow + poll for result)
  • Overhead: Testbench overhead (Wall Time - Workflow Time)
  • Samples: Number of benchmark iterations run
  • vs Fastest: How much slower compared to the fastest configuration for this benchmark

Worlds:

  • 💻 Local: In-memory filesystem world (local development)
  • 🐘 Postgres: PostgreSQL database world (local development)
  • ▲ Vercel: Vercel production/preview deployment
  • 🌐 Turso: Community world (local development)
  • 🌐 MongoDB: Community world (local development)
  • 🌐 Redis: Community world (local development)
  • 🌐 Jazz: Community world (local development)

📋 View full workflow run


⚠️ Community world benchmarks failed (non-blocking):

  • Community Worlds: failure

Check the workflow run for details.

@TooTallNate
Copy link
Copy Markdown
Member

(Coming over from #1843, which I just closed as a duplicate — this PR is more comprehensive, particularly the framework-wide coverage and docs updates.)

A few suggestions that came out of that branch, in case they're useful:

1. Consider using esbuild's native sourcemap vocabulary

Instead of boolean | 'inline' | 'disabled', esbuild's sourcemap option accepts boolean | 'inline' | 'linked' | 'external' | 'both'. Adopting that set (plus false to disable) means:

  • Users can pick 'external' or 'linked' to emit a .map file separately — good for users who want sourcemaps shipped to their observability tooling but not inlined in the function bundle.
  • The SDK's vocabulary matches the underlying tool, which is one less thing to learn.
  • We drop the bespoke 'disabled' value (users would just write false).

Concretely the type would be:

export type SourcemapMode = boolean | 'inline' | 'linked' | 'external' | 'both';

2. Add a WORKFLOW_SOURCEMAP env-var override

Handy for CI overrides without touching framework config, and for users who want to flip this once when diagnosing a bundle-size issue. Accepts the same values as the config option, plus 'true' / 'false' / '0' / '1' strings. Config wins over env var; env var wins over the per-site default.

3. Preserve EMIT_SOURCEMAPS_FOR_DEBUGGING at the final-workflow + webhook sites

On the current diff, the final workflow bundle + webhook bundle lines become:

sourcemap: resolveSourcemap(this.config.sourcemap) ?? EMIT_SOURCEMAPS_FOR_DEBUGGING,

This is mostly right, but resolveSourcemap(true) returns true while esbuild's default for those sites was false (the env var was opt-in). So setting sourcemap: true in config now enables sourcemaps on the final wrapper and webhook, whereas before only WORKFLOW_EMIT_SOURCEMAPS_FOR_DEBUGGING=1 did. That might be the desired behavior (it's a bit more consistent), just worth calling out as a minor semantics change.

4. A unit test for the resolver

My branch had a small one you might want to steal — covers precedence (config > env var > default), the various env var strings, unrecognized values, and the sourcemapsEnabled derived getter. Link to the test file on the closed branch.

Happy to port any of these as follow-up commits if useful — they're all small.

Replace the bespoke `boolean | 'inline' | 'disabled'` type with esbuild's
full `SourcemapMode` vocabulary (adds `'linked'`, `'external'`, `'both'`)
so users can ship sourcemaps to observability tooling without bloating
the function bundle. Add a `WORKFLOW_SOURCEMAP` env var as a
cross-framework override; config wins over env, env wins over the
per-bundle default. Flip `shouldAddSourcemapSupport` to track
`sourcemapsEnabled` on the Vercel step function so disabling sourcemaps
also drops the runtime shim.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Signed-off-by: Peter Wielander <mittgfu@gmail.com>
Copy link
Copy Markdown
Member

@TooTallNate TooTallNate left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Verified the implementation end-to-end. The shape is right and the precedence rules are well-tested.

What's right

  • Type vocabulary matches esbuild (boolean | 'inline' | 'linked' | 'external' | 'both'). Users can pass through whatever esbuild accepts without the SDK getting in the way.
  • Precedence is correct and tested: explicit config.sourcemap > WORKFLOW_SOURCEMAP env > per-call-site default. The 10 new tests in resolve-sourcemap.test.ts cover every branch including the env-var aliases (0/1/true/false), unrecognized values (warn + fall through), and the sourcemapsEnabled derived getter. All 145 builders tests pass on the branch.
  • sourcemapsEnabled is the right primitive for downstream decisions like skipping the source-map-support runtime shim (vercel-build-output-api.ts:86). That shim isn't trivial in size, so dropping it for sourcemap: false is a meaningful chunk of the 250MB savings.
  • Backwards compat preserved: the legacy WORKFLOW_EMIT_SOURCEMAPS_FOR_DEBUGGING=1 keeps working as the per-call-site default for the wrapper/webhook bundles. The "minor semantics change" the changeset flags (explicit sourcemap: ... now overrides the legacy env for those bundles too) is the right resolution — it's the natural meaning of "explicit > env > default" — and the changeset is upfront about it.
  • Discover-phase sourcemap: false at line 295 is left untouched. That's correct — write: false means the discover pass doesn't emit anything, sourcemaps would be wasted compute.
  • Plumbing is consistent across all five framework adapters (Astro, NestJS, Next.js, Nitro, SvelteKit) — same option name, same type, same docs blurb pattern. Nuxt flows through to Nitro transitively (no separate plumbing needed since Nuxt is already a thin wrapper), so its absence from the changeset is correct.
  • CLI works via env var routeWORKFLOW_SOURCEMAP=false workflow build works without any CLI plumbing because all builders inherit BaseBuilder.resolveSourcemap. So the CLI/express/fastify/hono getting-started paths can use this without an additional config layer.
  • Documentation is comprehensive: every framework getting-started page that shows config gets a sourcemap row, plus a dedicated "Source maps" section in with-workflow.mdx covering all the modes, the size-vs-stack-trace tradeoff, and the env var precedence.

Nits (non-blocking)

  • Type duplication. SourcemapMode is exported from @workflow/builders/types.ts but then redefined inline in 6 places (the framework adapter types and a couple of doc strings). All five framework packages already depend on @workflow/builders, so they could just import type { SourcemapMode } and reuse. If the union ever grows (e.g. esbuild adds a new mode), all 6 sites have to be updated in lockstep. Trivial cleanup, would also DRY up the doc comments which are nearly identical.
  • @workflow/nuxt getting-started docs don't mention sourcemap even though it flows through to Nitro and works. The nuxt.mdx page doesn't have a config-options table at all currently, so this isn't a regression — but consider adding parallel coverage for completeness.
  • parseSourcemapEnv warning writes directly to console.warn. Most of the codebase uses the structured runtimeLogger for this kind of thing. Probably fine for build-time warnings but worth aligning if there's a builder-side logger.

Tested

  • pnpm vitest run packages/builders/src/resolve-sourcemap.test.ts → 10/10 pass.
  • pnpm test in packages/builders → 145/145 pass.

LGTM.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants